package com.rain.cy.framework.enums;

/**
 * <p>
 *  通用枚举
 * </p>
 *
 * @author yuanyixiong
 * @since
 */
public enum BaseEnum {


    /**
     * 是否有效(有效)
     */
    IS_VALID_YES(1, "是否有效(有效)"),
    /**
     * 是否有效(无效)
     */
    IS_VALID_NO(0, "是否有效(无效)"),;

    private Integer key;
    private String description;

    BaseEnum(Integer key, String description) {
        this.key = key;
        this.description = description;
    }

    public Integer getKey() {
        return key;
    }

    public String getDescription() {
        return description;
    }
}
